package com.tanhua.server.service;

import com.tanhua.model.domain.UserInfo;
import com.tanhua.model.vo.UserInfoVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @author lifeihu
 * @date 2021/12/23
 * @TIME:17:10
 */
public interface UserInfoService {
    void save(UserInfo userInfo);
    UserInfoVo findById(Long id);
    void updateHead(MultipartFile headPhoto, Long id) throws IOException;
    void update(UserInfo userInfo);
}
